﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using System.Xml.Linq;
using System.Xml;

namespace Banesco.Integracion.Logica
{
    class CustomerServices
    {
    }

    public class IntegracionInformacionCustomerServices
    {
        public string birthDate = string.Empty;
        public string businessCode = string.Empty;
        public string bussinesCodeDesc = string.Empty;
        public string celularPhoneNum = string.Empty;
        public string clientClass = string.Empty;
        public string clientStatus = string.Empty;
        public string clientType = string.Empty;
        public string companyAddress = string.Empty;
        public string companyInfo = string.Empty;
        public string companyName = string.Empty;
        public string companyType = string.Empty;
        public string correg = string.Empty;
        public string corregDesc = string.Empty;
        public string country = string.Empty;
        public string countryDesc = string.Empty;
        public string currentIncome = string.Empty;
        public string currentJEntryDate = string.Empty;
        public string customerNumber = string.Empty;
        public string dependents = string.Empty;
        public string discountCompanyCode = string.Empty;
        public string discountCompanyCodeDsc = string.Empty;
        public string distrit = string.Empty;
        public string distritDesc = string.Empty;
        public string educationLevel = string.Empty;
        public string educationLevelDsc = string.Empty;
        public string email = string.Empty;
        public string employmentTime = string.Empty;
        public string familiarRelationType = string.Empty;
        public string faxNumber = string.Empty;
        public string firstContactDate = string.Empty;
        public string firstLastName = string.Empty;
        public string firstName = string.Empty;
        public string groupNumber = string.Empty;
        public string houseNumber = string.Empty;
        public string housePhoneNum = string.Empty;
        public string idCountry = string.Empty;
        public string idNumber = string.Empty;
        public string idType = string.Empty;
        public string idTypeDesc = string.Empty;
        public string incomeSource = string.Empty;
        public string incomeSourceDsc = string.Empty;
        public string industryCode = string.Empty;
        public string industryCodeDesc = string.Empty;
        public string inquiryLevel = string.Empty;
        public string language = string.Empty;
        public string legalName = string.Empty;
        public string legalStatus = string.Empty;
        public string mainOfficer = string.Empty;
        public string mainOfficerDesc = string.Empty;
        public string marriedName = string.Empty;
        public string nacionality = string.Empty;
        public string NacionalityDesc = string.Empty;
        public string officePhoneNum = string.Empty;
        public string perRefBuildNum1 = string.Empty;
        public string perRefBuildNum2 = string.Empty;
        public string perRefCorreg1 = string.Empty;
        public string perRefCorreg1Dsc = string.Empty;
        public string perRefCorreg2 = string.Empty;
        public string perRefCorreg2Dsc = string.Empty;
        public string perRefCountry1 = string.Empty;
        public string perRefCountry2 = string.Empty;
        public string perRefDistrit1 = string.Empty;
        public string perRefDistrit1Dsc = string.Empty;
        public string perRefDistrit2 = string.Empty;
        public string perRefDistrit2Dsc = string.Empty;
        public string perRefHouseNum1 = string.Empty;
        public string perRefHouseNum2 = string.Empty;
        public string perRefName1 = string.Empty;
        public string perRefName2 = string.Empty;
        public string perRefPhoneNum1 = string.Empty;
        public string perRefPhoneNum2 = string.Empty;
        public string perRefPoBox1 = string.Empty;
        public string perRefPoBox2 = string.Empty;
        public string perRefProvince1 = string.Empty;
        public string perRefProvince1Dsc = string.Empty;
        public string perRefProvince2 = string.Empty;
        public string perRefProvince2Dsc = string.Empty;
        public string perRefStreet1 = string.Empty;
        public string perRefStreet2 = string.Empty;
        public string perRefZipCode1 = string.Empty;
        public string perRefZipCode2 = string.Empty;
        public string poBox = string.Empty;
        public string position = string.Empty;
        public string positionDsc = string.Empty;
        public string previusJEntryDate = string.Empty;
        public string profession = string.Empty;
        public string professionDesc = string.Empty;
        public string province = string.Empty;
        public string ProvinceDesc = string.Empty;
        public string referBy = string.Empty;
        public string referByDsc = string.Empty;
        public string referByN = string.Empty;
        public string relationType = string.Empty;
        public string residencyCountry = string.Empty;
        public string residencyCountryDesc = string.Empty;
        public string resident = string.Empty;
        public string riskLevel = string.Empty;
        public string riskLevelDsc = string.Empty;
        public string secondLastName = string.Empty;
        public string secondName = string.Empty;
        public string secondOfficer = string.Empty;
        public string secondOfficerDesc = string.Empty;
        public string sex = string.Empty;
        public string shortName = string.Empty;
        public string street = string.Empty;
        public string taxes = string.Empty;
        public string user = string.Empty;
        public string zipCode = string.Empty;
    }

    public class IntegracionInformacionAccountServices
    {
        public string user = string.Empty;
        public string accountNumber = string.Empty;
        public string customerNumber = string.Empty;
        public string customerId = string.Empty;
        public string productCode = string.Empty;
        public string bank = string.Empty;
        public string currency = string.Empty;
        public string branch = string.Empty;
        public string glAccount = string.Empty;
        public string customerName = string.Empty;
        public string accountType = string.Empty;
        public string accountTypeDesc = string.Empty;
        public string productCodeDesc = string.Empty;
        public string appCode = string.Empty;
        public string officialCode = string.Empty;
        public string costCenter = string.Empty;
        public string openingDate = string.Empty;
        public string tariffTable = string.Empty;
        public string userCode1 = string.Empty;
        public string userCode2 = string.Empty;
        public string userCode3 = string.Empty;
        public string userCode4 = string.Empty;
        public string taxesWitholdingFlag = string.Empty;
        public string checkingType = string.Empty;
        public string minimumCheckingStock = string.Empty;
        public string serviceChargesFlag = string.Empty;
        public string overdraftsChargesFlag = string.Empty;
        public string overdraftAmountUsed = string.Empty;
        public string overdraftFrecuency = string.Empty;
        public string chargesPaymentDay = string.Empty;
        public string accountStatementRetentionFlag = string.Empty;
        public string accountStatementFrecuency = string.Empty;
        public string accountStatementPrintingDay = string.Empty;
        public string accountStatementType = string.Empty;
        public string consolidatedStatementFlag = string.Empty;
        public string dailyStatementAccountVia = string.Empty;
        public string clientLinMultiuse = string.Empty;
        public string clientLinNumber = string.Empty;
        public string sendingChannel = string.Empty;
        public string personalizationCheck1 = string.Empty;
        public string personalizationCheck2 = string.Empty;
        public string checkingChargesFlag = string.Empty;
        public string checkingChargesRestriction = string.Empty;
        public string interestPaymentFlag = string.Empty;
        public string accountStatus = string.Empty;
        public string mailingAddress = string.Empty;
        public string creditLineNumber = string.Empty;
        public string creditLineType = string.Empty;

    }
    //Revisado
    [Serializable]
    public class IntegracionInformacionCustomerServicesCNatural
    {
        public string addressLine { get; set; }
        public string birthDate { get; set; }
        public string birthDateDay { get; set; }
        public string birthDateMonth { get; set; }
        public string birthDateYear { get; set; }
        public string branch { get; set; }
        public string businessCode { get; set; }
        public string businessCodeDesc { get; set; }
        public string businessType { get; set; }
        public string businessTypeDesc { get; set; }
        public string celularPhoneNum { get; set; }
        public string channelType { get; set; }
        public string channelTypeDesc { get; set; }
        public string city { get; set; }
        public string classification { get; set; }
        public string classificationDesc { get; set; }
        public string classificationForm { get; set; }
        public string clientClass { get; set; }
        public string clientStatus { get; set; }
        public string clientType { get; set; }
        public string companyAddress { get; set; }
        public string companyCharges { get; set; }
        public string companyInfo { get; set; }
        public string companyName { get; set; }
        public string companyRuc { get; set; }
        public string companyType { get; set; }
        public string contractType { get; set; }
        public string correg { get; set; }
        public string corregDesc { get; set; }
        public string country { get; set; }
        public string countryDesc { get; set; }
        public string countryOfBirth { get; set; }
        public string countryOfBirthDesc { get; set; }
        public string currentIncome { get; set; }
        public string currentJEntryDate { get; set; }
        public string currentJEntryDay { get; set; }
        public string currentJEntryMonth { get; set; }
        public string currentJEntryYear { get; set; }
        public string customerNumber { get; set; }
        public string customerType { get; set; }
        public string customerTypeSel { get; set; }
        public string debitCard { get; set; }
        public string dependents { get; set; }
        public string discountCompanyCode { get; set; }
        public string discountCompanyDsc { get; set; }
        public string distrit { get; set; }
        public string distritDesc { get; set; }
        public string educationalExpenses { get; set; }
        public string educationLevel { get; set; }
        public string educationLevelDesc { get; set; }
        public string email { get; set; }
        public string employeeNumber { get; set; }
        public string employmentTime { get; set; }
        public string familiarRelationType { get; set; }
        public string faxNumber { get; set; }
        public string firstContactDateDay { get; set; }
        public string firstContactDateMont { get; set; }
        public string firstContactDateYear { get; set; }
        public string firstLastName { get; set; }
        public string firstName { get; set; }
        public string floorLevel { get; set; }
        public string fuente { get; set; }
        public string groupNumber { get; set; }
        public string houseNumber { get; set; }
        public string housePhoneNum { get; set; }
        public string idContraloria { get; set; }
        public string idCountry { get; set; }
        public string idCountry4 { get; set; }
        public string idCountryDesc4 { get; set; }
        public string idNumber { get; set; }
        public string idNumber4 { get; set; }
        public string idType { get; set; }
        public string idType4 { get; set; }
        public string idTypeDesc { get; set; }
        public string idTypeDesc4 { get; set; }
        public string incomeLevel { get; set; }
        public string incomeSource { get; set; }
        public string incomeSourceDesc { get; set; }
        public string incomeType { get; set; }
        public string indicador { get; set; }
        public string industryCode { get; set; }
        public string industryCodeDesc { get; set; }
        public string initialCapital { get; set; }
        public string inquiryLevel { get; set; }
        public string language { get; set; }
        public string legalName { get; set; }
        public string legalStatus { get; set; }
        public string longIdNumber { get; set; }
        public string longIdTypeDesc { get; set; }
        public string mailingCode { get; set; }
        public string mailingCodeDesc { get; set; }
        public string mainOfficer { get; set; }
        public string mainOfficerDesc { get; set; }
        public string marriedName { get; set; }
        public string municipality { get; set; }
        public string municipalityDesc { get; set; }
        public string nacionalityDesc { get; set; }
        public string nationality { get; set; }
        public string netPatrimony { get; set; }
        public string officeNumber { get; set; }
        public string officePhoneNum { get; set; }
        public string otherExpenses { get; set; }
        public string otherIncome { get; set; }
        public string otherIncomeSource { get; set; }
        public string parish { get; set; }
        public string parishDesc { get; set; }
        public string payDay { get; set; }
        public string poBox { get; set; }
        public string position { get; set; }
        public string positionDesc { get; set; }
        public string previousJEndDay { get; set; }
        public string previousJEndMonth { get; set; }
        public string previousJEndYear { get; set; }
        public string previousJEntryDay { get; set; }
        public string previousJEntryMonth { get; set; }
        public string previousJEntryYear { get; set; }
        public string previsionTable { get; set; }
        public string profession { get; set; }
        public string professionDesc { get; set; }
        public string propertyType { get; set; }
        public string province { get; set; }
        public string provinceDesc { get; set; }
        public string referBy { get; set; }
        public string referByDesc { get; set; }
        public string referByName { get; set; }
        public string relation { get; set; }
        public string relationDesc { get; set; }
        public string relationType { get; set; }
        public string rentAmount { get; set; }
        public string rentType { get; set; }
        public string residencyCountry { get; set; }
        public string residencyCountryDesc { get; set; }
        public string resident { get; set; }
        public string riskLevel { get; set; }
        public string riskLevelDesc { get; set; }
        public string salesChannel { get; set; }
        public string salesChannelDesc { get; set; }
        public string secondIdCountry { get; set; }
        public string secondIdCountryDesc { get; set; }
        public string secondIdNumber { get; set; }
        public string secondIdType { get; set; }
        public string secondIdTypeDesc { get; set; }
        public string secondLastName { get; set; }
        public string secondName { get; set; }
        public string secondOfficer { get; set; }
        public string secondOfficerDesc { get; set; }
        public string sex { get; set; }
        public string shortIdCountry { get; set; }
        public string shortIdNumber { get; set; }
        public string shortIdType { get; set; }
        public string shortName { get; set; }
        public string socialSecurityNumber { get; set; }
        public string[] specialInstructions { get; set; }
        public string street { get; set; }
        public string taxes { get; set; }
        public string thirdIdCountry { get; set; }
        public string thirdIdCountryDesc { get; set; }
        public string thirdIdNumber { get; set; }
        public string thirdIdType { get; set; }
        public string thirdIdTypeDesc { get; set; }
        public string user { get; set; }
        public string userCode6Desc { get; set; }
        public string zipCode { get; set; }
    }
    //Revisado
    [Serializable]
    public class IntegracionInformacionCustomerServicesCJuridico
    {
        public string addressLine1 { get; set; }
        public string addressLine2 { get; set; }
        public string addressLine3 { get; set; }
        public string addressVerbalRef { get; set; }
        public string appPending { get; set; }
        public string aptoOffice { get; set; }
        public string automaticAppFlag { get; set; }
        public string bankingType { get; set; }
        public string building { get; set; }
        public string businessArea { get; set; }
        public string businessCode { get; set; }
        public string businessCodeDesc { get; set; }
        public string businessTypeDesc { get; set; }
        public string businessUnity { get; set; }
        public string capitalPaid { get; set; }
        public string celularPhoneNumber { get; set; }
        public string city { get; set; }
        public string classification { get; set; }
        public string classificationDesc { get; set; }
        public string classificationForm { get; set; }
        public string clientClass { get; set; }
        public string clientOperativeType { get; set; }
        public string clientStatus { get; set; }
        public string companySize { get; set; }
        public string condominium { get; set; }
        public string correg { get; set; }
        public string corregDesc { get; set; }
        public string country { get; set; }
        public string countryOfBirthDesc { get; set; }
        public string customerNumber { get; set; }
        public string customerType { get; set; }
        public string debitCardNumber { get; set; }
        public string discountCompanyDesc { get; set; }
        public string distrit { get; set; }
        public string distritDesc { get; set; }
        public string educationLevelDesc { get; set; }
        public string email { get; set; }
        public string faxNumber { get; set; }
        public string firstContact { get; set; }
        public string floorLevel { get; set; }
        public string folioNumber { get; set; }
        public string foundation { get; set; }
        public string fourthIdCountry { get; set; }
        public string fourthIdCountryDesc { get; set; }
        public string fourthIdNumber { get; set; }
        public string fourthIdType { get; set; }
        public string fourthIdTypeDesc { get; set; }
        public string groupNumber { get; set; }
        public string idCountry { get; set; }
        public string idCountryDesc { get; set; }
        public string idNumber { get; set; }
        public string idType { get; set; }
        public string idTypeDesc { get; set; }
        public string incomeSource { get; set; }
        public string incomeSourceDesc { get; set; }
        public string industryCode { get; set; }
        public string industryCodeDesc { get; set; }
        public string initialCapital { get; set; }
        public string inquiryLevel { get; set; }
        public string inscription { get; set; }
        public string inscriptionNumber { get; set; }
        public string juridicalDistrict { get; set; }
        public string languageIndicator { get; set; }
        public string legalName { get; set; }
        public string mailingCode { get; set; }
        public string mailingCodeDesc { get; set; }
        public string mainOfficer { get; set; }
        public string mainOfficerDesc { get; set; }
        public string moreRecords { get; set; }
        public string municipality { get; set; }
        public string municipalityDesc { get; set; }
        public string nacionalityDesc { get; set; }
        public string nationality { get; set; }
        public string numberOfShears { get; set; }
        public string officePhoneNumber1 { get; set; }
        public string officePhoneNumber2 { get; set; }
        public string originCountry { get; set; }
        public string ownershipType { get; set; }
        public string parish { get; set; }
        public string parishDesc { get; set; }
        public string poBox { get; set; }
        public string portfolioType { get; set; }
        public string positionDesc { get; set; }
        public string previousName { get; set; }
        public string previsionTable { get; set; }
        public string propertyType { get; set; }
        public string provinceDesc { get; set; }
        public string referBy { get; set; }
        public string referByDesc { get; set; }
        public string referByName { get; set; }
        public string reference { get; set; }
        public string region { get; set; }
        public string registerNumber { get; set; }
        public string relation { get; set; }
        public string relationDesc { get; set; }
        public string residencyCountry { get; set; }
        public string residencyCountryDesc { get; set; }
        public string residentFlag { get; set; }
        public string riskCentral { get; set; }
        public string riskLevel { get; set; }
        public string riskLevelDesc { get; set; }
        public string rollOverVolume { get; set; }
        public string salesLevel { get; set; }
        public string secondIdCountry { get; set; }
        public string secondIdCountryDesc { get; set; }
        public string secondIdNumber { get; set; }
        public string secondIdType { get; set; }
        public string secondIdTypeDesc { get; set; }
        public string secondOfficer { get; set; }
        public string secondOfficerDesc { get; set; }
        public string shortName { get; set; }
        public string socioEconomicLevel { get; set; }
        public string specialInstructions { get; set; }
        public string state { get; set; }
        public string stockHolders { get; set; }
        public string street { get; set; }
        public string subscribedCapital { get; set; }
        public string taxes { get; set; }
        public string thirdIdCountry { get; set; }
        public string thirdIdCountryDesc { get; set; }
        public string thirdIdNumber { get; set; }
        public string thirdIdType { get; set; }
        public string thirdIdTypeDesc { get; set; }
        public string typeOfCorresBank { get; set; }
        public string user { get; set; }
        public string userCode6Desc { get; set; }
        public string userCode9Desc { get; set; }
        public string volumeNumber { get; set; }
        public string yearsBusiness { get; set; }
        public string zipCode { get; set; }
    }

    [Serializable]
    public class AccountServicesIntegration
    {
        public string user
        {
            get;
            set;
        }
        public string accountNumber
        {
            get;
            set;
        }
        public string customerNumber
        {
            get;
            set;
        }
        public string customerId
        {
            get;
            set;
        }
        public string productCode
        {
            get;
            set;
        }
        public string bank
        {
            get;
            set;
        }
        public string currency
        {
            get;
            set;
        }
        public string branch
        {
            get;
            set;
        }
        public string glAccount
        {
            get;
            set;
        }
        public string customerName
        {
            get;
            set;
        }
        public string accountType
        {
            get;
            set;
        }
        public string accountTypeDesc
        {
            get;
            set;
        }
        public string productCodeDesc
        {
            get;
            set;
        }
        public string appCode
        {
            get;
            set;
        }
        public string officialCode
        {
            get;
            set;
        }
        public string costCenter
        {
            get;
            set;
        }
        public string openingDate
        {
            get;
            set;
        }
        public string tariffTable
        {
            get;
            set;
        }
        public string userCode1
        {
            get;
            set;
        }
        public string userCode2
        {
            get;
            set;
        }
        public string userCode3
        {
            get;
            set;
        }
        public string userCode4
        {
            get;
            set;
        }
        public string taxesWitholdingFlag
        {
            get;
            set;
        }
        public string checkingType
        {
            get;
            set;
        }
        public string minimumCheckingStock
        {
            get;
            set;
        }
        public string serviceChargesFlag
        {
            get;
            set;
        }
        public string overdraftsChargesFlag
        {
            get;
            set;
        }
        public string overdraftAmountUsed
        {
            get;
            set;
        }
        public string overdraftFrecuency
        {
            get;
            set;
        }
        public string chargesPaymentDay
        {
            get;
            set;
        }
        public string accountStatementRetentionFlag
        {
            get;
            set;
        }
        public string accountStatementFrecuency
        {
            get;
            set;
        }
        public string accountStatementPrintingDay
        {
            get;
            set;
        }
        public string accountStatementType
        {
            get;
            set;
        }
        public string consolidatedStatementFlag
        {
            get;
            set;
        }
        public string dailyStatementAccountVia
        {
            get;
            set;
        }
        public string clientLinMultiuse
        {
            get;
            set;
        }
        public string clientLinNumber
        {
            get;
            set;
        }
        public string sendingChannel
        {
            get;
            set;
        }
        public string personalizationCheck1
        {
            get;
            set;
        }
        public string personalizationCheck2
        {
            get;
            set;
        }
        public string checkingChargesFlag
        {
            get;
            set;
        }
        public string checkingChargesRestriction
        {
            get;
            set;
        }
        public string interestPaymentFlag
        {
            get;
            set;
        }
        public string accountStatus
        {
            get;
            set;
        }
        public string mailingAddress
        {
            get;
            set;
        }
        public string creditLineNumber
        {
            get;
            set;
        }
        public string creditLineType
        {
            get;
            set;
        }
        public string balanceUsedForOverdraft { get; set; }
        public string limitValueOverdraft1 { get; set; }
        public string limitValueOverdraft2 { get; set; }
        public string overrateForOverdraft1 { get; set; }
        public string overrateForOverdraft2 { get; set; }
        public string relatedGlAccountBank { get; set; }
        public string relatedGlAccountBranch { get; set; }
        public string relatedGlAccountCurrency { get; set; }
        public string relatedGlAccount { get; set; }
        public string relatedDetailAccount { get; set; }
        public string relatedProduct { get; set; }
        public string creditLineClient { get; set; }
        public string creditLineLimit { get; set; }
        public string creditLineRevisionDate { get; set; }
        public string personalizedNameForCheckbook { get; set; }
        public string personalizedNameRelation { get; set; }
        public string personalizedNameForCheckbook2 { get; set; }
        public string checkbookType { get; set; }
        public string checkbookDeliveryRestrictionsFlag { get; set; }
        public string[] specialInstructions { get; set; }

    }

    [Serializable]
    public class AdditionalInformation 
    {
        public string customerNumber
        {
            get;
            set;
        }
        public string recordType
        {
            get;
            set;
        }
        public string sequence
        {
            get;
            set;
        }
        public string legalName
        {
            get;
            set;
        }
        public string addressLine
        {
            get;
            set;
        }
        public string addessLine1
        {
            get;
            set;
        }
        public string marriedName
        {
            get;
            set;
        }
        public string city
        {
            get;
            set;
        }
        public string state
        {
            get;
            set;
        }
        public string zipCode
        {
            get;
            set;
        }
        public string poBox
        {
            get;
            set;
        }
        public string country
        {
            get;
            set;
        }
        public string mailingCode
        {
            get;
            set;
        }
        public string phone
        {
            get;
            set;
        }
        public string citizenship
        {
            get;
            set;
        }
        public string idNumber
        {
            get;
            set;
        }
        public string position
        {
            get;
            set;
        }
        public string gender
        {
            get;
            set;
        }
        public string maritalStatus
        {
            get;
            set;
        }
        public string numberStocks
        {
            get;
            set;
        }
        public string relatedCustomer
        {
            get;
            set;
        }
        public string idType
        {
            get;
            set;
        }
        public string idCountry
        {
            get;
            set;
        }
        public string purchasedPrice
        {
            get;
            set;
        }
        public string marketPrice
        {
            get;
            set;
        }
        public string birthDate
        {
            get;
            set;
        }
        public string relationType
        {
            get;
            set;
        }
        public string addressType
        {
            get;
            set;
        }
        public string signerType
        {
            get;
            set;
        }
        public string fullName
        {
            get;
            set;
        }
        public string entryDate
        {
            get;
            set;
        }
        public string region
        {
            get;
            set;
        }
        public string floorLevel
        {
            get;
            set;
        }
        public string street
        {
            get;
            set;
        }
        public string building
        {
            get;
            set;
        }
        public string municipality
        {
            get;
            set;
        }
        public string district
        {
            get;
            set;
        }
        public string houseNumber
        {
            get;
            set;
        }
        public string unitNumber
        {
            get;
            set;
        }
        public string stateDesc
        {
            get;
            set;
        }
        public string mailingCodeDesc
        {
            get;
            set;
        }
        public string citizenshipDesc
        {
            get;
            set;
        }
        public string positionDesc
        {
            get;
            set;
        }
        public string idTypeDesc
        {
            get;
            set;
        }
        public string idCountryDesc
        {
            get;
            set;
        }
        public string cityDesc
        {
            get;
            set;
        }
        public string regionDesc
        {
            get;
            set;
        }
        public string districtDesc
        {
            get;
            set;
        }
        public string countryDesc
        {
            get;
            set;
        }
    
    }

    
}
